package com.ctshk.rpc.order.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商品訂單分頁列表-订单商品明细-DTO参数
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-25
 */
@Data
@ApiModel(value = "OrderCommodityPageListDetailDTO对象", description = "订单商品明细")
public class OrderCommodityPageListDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品Id")
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品编号")
    private String commodityNumber;

    @ApiModelProperty(value = "商品图片url")
    private String commodityPictureUrl;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "成本属性表id")
    private Long commodityCostAttributeId;

    @ApiModelProperty(value = "(规格)成本属性表组合名称:组合：规格名称1+属性值1+规格名称2+属性值2")
    private String commodityCostAttributeName;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "商品总价")
    private BigDecimal commodityTotalPrice;

    @ApiModelProperty(value = "物流公司id")
    private Long logisticsCompanyId;

    @ApiModelProperty(value = "物流公司名称")
    private String logisticsCompanyName;

    @ApiModelProperty(value = "物流单号")
    private String logisticsOrderNo;

    @ApiModelProperty(value = "物流公司电话")
    private String logisticsCompanyPhone;
}
